import Layout from '@/layout'

export default {
  path: '/houtai',
  component: Layout,
  name: 'base',
  meta: { title: '后台管理' },
  redirect: '/houtai_user',
  children: [
    {
      path: '/houtai_user',
      name: 'base-users',
      component: () => import('@/views/houtai/user'),
      meta: { title: '用户管理' }
    },
    {
      path: '/houtai_menu',
      name: 'base-menus',
      component: () => import('@/views/houtai/menu'),
      meta: { title: '菜单管理' }
    },

    {
      path: '/houtai_permission',
      name: 'base-permissions',
      component: () => import('@/views/houtai/permission'),
      meta: { title: '权限管理' }
    },
    {
      path: '/houtai_log',
      name: 'base-logs',
      component: () => import('@/views/houtai/log'),
      meta: { title: '日志管理' }
    },
  ]
}
